<?php

/**
 * FreeY_Db_Table
 *
 * @auther		FreeYadmin FreeYadmin@gmail.com
 * @update		FreeYadmin 
 * @package		FreeY 
 */	
class FreeY_Db_Driver_Abstract
{
	/**
	 * logs
	 */
	public $logs = null;
	/**
	 * connect resource 
	 */
	private $link_id = null;
	/**
	 * pconnect tag
	 */
	private $pconnect = null;
	/**
	 * __construct
	 *
	 * @param $var
	 * @return viod
	 */
	public function __construct()
	{
	}
	/**
	 * query 
	 *
	 * @param $var
	 * @return viod
	 */
	public function query($sql)
	{
	}
	/**
	 * result
	 *
	 * @param $sql string
	 * @param $type string
	 * @return mixed
	 */
	public function result($sql, $type = 'assoc')
	{
	}
	/**
	 * getLog
	 *
	 * @param $var
	 * @return viod
	 */
	public function getLog()
	{
		return $this->logs;
	}
	/**
	 * connect database server
	 *
	 * @param 
	 * @return viod
	 */
	protected function _connect()
	{
	}
	/**
	 * select database
	 *
	 * @param $db_name
	 * @return viod
	 */
	protected function _select_db($db_name)
	{
	}
	/**
	 * fetch_array
	 *
	 * @param $resource
	 * @return array
	 */
	protected function _fetch_array($resource)
	{
	}
	/**
	 * fetch_assoc
	 *
	 * @param $resource
	 * @return assoc array
	 */
	protected function _fetch_assoc($resource)
	{
	}
	/**
	 * fetch_object
	 *
	 * @param $resource
	 * @return object
	 */
	protected function _fetch_object($resource)
	{
	}
	/**
	 * _method
	 *
	 * @param $var
	 * @return viod
	 */
	protected function _addLog($log)
	{
		$this->logs[] = $log;
	}
}
//file end--------------------------------------------------------->